package reference;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class DataFile implements Serializable {
	private static final long serialVersionUID = 4298564775253437099L;
	String fileName;
	Map<String, Integer> descriptor;
	public Map<Integer, Map<String, String>> records = new HashMap<Integer, Map<String, String>>();

	public Map<String, String> getRecord(int recordId) {
		return records.get(recordId);
	}
	
	public Map<Integer, Map<String, String>> getAll(){
		return records;
	}

}